<x-guest-layout>
<div class="container mx-auto">
    <div class="bg-white rounded-lg overflow-hidden shadow-md">
        <div class="p-6">
            <h2 class="text-lg font-medium text-gray-900">{{ $post->title }}</h2>
            <p class="text-gray-600">{{ $post->body }}</p>
        </div>
    </div>
</div>

<div>
    <div>comments</div>
    @foreach ($post->comments as $comment)
        <div class="border-b border-gray-600">
            {{ $comment->body }}
        </div>
    @endforeach
</div>
</x-guest-layout>

